using AdminSG3L.Domain.Entities;
using Microsoft.EntityFrameworkCore;

namespace AdminSG3L.Infrastructure.Data;

public class AdminDbContext(DbContextOptions<AdminDbContext> options) : DbContext(options)
{
    public DbSet<AppUser> Users { get; set; }
    public DbSet<AppRole> Roles { get; set; }
    public DbSet<AppPermission> Permissions { get; set; }
    public DbSet<AppMenu> Menus { get; set; }
    public DbSet<AppLog> Logs { get; set; }

}